<template>
  <div>
    <!--
        v-model
           子组件标签   :value="父组件属性"   @input="父组件属性=$event"
           子组件标签   v-model="父组件属性"
           子组件内：
               props:['value123'],
               model:{
                  prop:'value123',
                  event:'input123'
               }
               this.$emit('input123',实参值)
     -->
    <!-- <UploadImg :value="imgUrl" @input="imgUrl = $event" /> -->
    <UploadImg v-model="imgUrl" />
  </div>
</template>
<script>
export default {
  data() {
    return {
      imgUrl:
        'https://www.baidu.com/img/PCtm_d9c8750bed0b3c7d089fa7d55720d6cf.png'
    }
  }
}
</script>
<style></style>
